#!/usr/bin/env python
import random,re
def __init__():
	print "loaded ferret module"

def orism(a):
	a = re.sub("( )?, (or )?"," or ",a)
	a = re.sub("(will|do|did|does|can|would|should|could|has|have|were|is|shall|are)","",a)
	a = re.sub("[^a-zA-Z]you[^a-zA-Z]","I ",a)
	a = re.sub("[^a-zA-Z][Ii][^a-zA-Z]","you ",a)
	return random.choice(a.split(' or ')).replace(" ba","")

def start(daft):
	pass
def tick():
	pass
def say(daft,r,who,w):
	pass
def stop():
	pass
